package DiTie;


import java.io.FileWriter;
import java.io.IOException;

public class BaoCun {
    public static void main(String[] args) throws IOException {
        FileWriter fw1 = new FileWriter("jinjie\\src\\DiTie\\managers.txt");
        String s1 = "10001,小王,男,13112345678";
        String s2 = "10002,老于,男,13212345678";
        String s3 = "10003,老方,男,13312345678";
        fw1.write(s1);
        fw1.write("\r\n");
        fw1.write(s2);
        fw1.write("\r\n");
        fw1.write(s3);
        fw1.write("\r\n");
        fw1.close();
        FileWriter fw2=new FileWriter("jinjie\\src\\DiTie\\subways.txt");
        String t1="s3002,南锣鼓巷,6号线";
        String t2="s5016,王府井,1号线";
        String t3="s2026,西直门,4号线";
        fw2.write(t1);
        fw2.write("\r\n");
        fw2.write(t2);
        fw2.write("\r\n");
        fw2.write(t3);
        fw2.write("\r\n");
        fw2.close();
    }
}
